<admintpl file="header" />
<body class="J_scroll_fixed" style="min-width:800px;">
<div class="wrap J_check_wrap">
    <ul class="nav nav-tabs">
        <li ><a href="{:U('Financialadmin/index')}" >订单列表</a></li>
        <li class="active"><a href="{:U('Financialadmin/show')}">订单详情</a></li>
        <li ><a href="{:U('Financialadmin/statistics')}">统计信息</a></li>
    </ul>
        <form class="well form-search" method="post" action="{:U('Financialadmin/search')}">
            <div class="search_type cc mb10">
                <div class="mb10">
					<span class="mr20">订单号：
						<input type="text" class="input length_2" name="keyword" style="width:200px;" value="{$formget.keyword}" placeholder="请输入订单号...">
						<button class="btn">搜索</button>
					</span>
                </div>
            </div>
        </form>
        <div class="h_a">订单信息：</div>
        <form class="J_ajaxForm" action="" method="post">
            <div class="table_list">
                <table width="100%" class="table table-hover">
                    <thead>
                    <tr>
                        <th width="16"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
                        <th style="background-color: #FFFFFF" width="150">编号</th>
                        <th width="80">购买用户</th>
                        <th width="90">商品数量</th>
                        <th width="">商品信息</th>
                        <th width="90">订单状态</th>
                        <th width="150">状态时间</th>
                        <th width="90">账单预计状态</th>
                        <th width="140"><span>订单金额</span></th>
                        <th width="120">操作</th>
                    </tr>
                    </thead>
                    <notempty name="order">
                        <tr>
                        <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="{$order.orderId}"></td>
                        <td><a href="{:U('Financialadmin/show',array('id'=>$order['orderId']))}">{$order.order_num}</a></td>
                        <td>{$order.uid}</td>
                        <td>{$order.goods_num}</td>
                        <td>{$order.goodsInfo}</td>
                        <td>{$order.status}</td>
                        <td><notempty name="order.status_time"><b>{$order.status_time|date="Y-m-d H:i",###}</b><else/><b>{$order.cTime|date="Y-m-d H:i",###}</b></notempty></td>
                        <td style="color: red">{$order.would_status}</td>
                            <td style="color: red"><b>￥{$order.total}</b></td>
                        <td>
                            <a target="_self" href="{:U('Financialadmin/edit',array('id'=>$vo[id]))}" target="_self" >修改</a>
                        </td>
                        </tr>
                        <else/>
                        <tr><td colspan="9" style="text-align: center">没有相关信息！！！</td></tr>
                        </notempty>
                </table>
            </div>
        </form>
        <div class="h_a">快递信息：</div>
        <form class="J_ajaxForm" action="" method="post">
            <div class="table_list">
                <table width="100%" class="table table-hover">
                    <thead>
                    <tr>
                        <th width="16"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
                        <th style="background-color: #FFFFFF" width="150">快递信息编号</th>
                        <th width="80">用户ID</th>
                        <th width="90">收件人姓名</th>
                        <th width="">收件人地址</th>
                        <th width="90">邮编</th>
                        <th width="150">联系电话</th>
                        <th width="90">固定电话</th>
                        <th width="140"><span>快递信息</span></th>
                        <th width="120">操作</th>
                    </tr>
                    </thead>
                    <notempty name="post">
                    <tr>
                        <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="pos[]" value="{$post.postId}"></td>
                        <td><a href="{:U('Financialadmin/show',array('id'=>$post['postId']))}">{$post.postId}</a></td>
                        <td>{$post.uid}</td>
                        <td>{$post.pName}</td>
                        <td>{$post.addrInfo}</td>
                        <td>{$post.post_num}</td>
                        <td>{$post.pMobile}</td>
                        <td>{$post.pTel}</td>
                        <td>{$post.postInfo}</td>
                        <td>
                            <a target="_self" href="{:U('Financialadmin/postEdit',array('id'=>$post['postId']))}" target="_self" >修改</a>
                        </td>
                        </tr>
                        <else/>
                        <tr><td colspan="9" style="text-align: center">没有相关信息！！！</td></tr>
                    </notempty>
                </table>
                </div>
        </form>
        <div class="h_a">商品信息：</div>
        <form class="J_ajaxForm" action="" method="post">
            <div class="table_list">
                <table width="100%" class="table table-hover">
                    <thead>
                    <tr>
                        <th width="16"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
                        <th style="background-color: #FFFFFF" width="100">商品编号</th>
                        <th width="300">头饰</th>
                        <th width="300">身体</th>
                        <th width="">商品图</th>
                        <th width="90">商品尺寸</th>
                        <th width="150">商品数量</th>
                        <th width="90"><span>商品描述</span></th>
                        <th width="140">商品单价</th>
                        <th width="120">操作</th>
                    </tr>
                    </thead>
                    <notempty name="good">
                    <foreach name="good" item="vo">
                        <notempty name="vo.class_type"><tr class="gray_back"><else/><tr></notempty>
                        <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="pids[]" value="{$vo.pid}"></td>
                        <td><a href="{:U('Financialadmin/show',array('id'=>$vo['pid']))}">{$vo.pid}</a></td>
                        <td><a target="_self" href="http://api.do-bi.cn{$vo.hd_id}"><img class="good_img" src="http://api.do-bi.cn{$vo.hd_id}"></a></td>
                        <td><a target="_self" href="http://api.do-bi.cn{$vo.bd_id}"><img class="good_img" src="http://api.do-bi.cn{$vo.bd_id}"></a></td>
                        <empty name="vo.user_model"><td>暂无用户商品图信息</td><else/><td><a href="http://api.do-bi.cn{$vo.user_model}" target="_self"><img class="good_img" src="http://api.do-bi.cn{$vo.user_model}"></a></td></empty>
                        <td>{$vo.size}</td>
                        <td>{$vo.num}</td>
                        <td>{$vo.desc}</td>
                        <td style="color: red"><b>￥{$vo.price}</b></td>
                        <td>
                            <a target="_self" href="{:U('Financialadmin/goodEdit',array('id'=>$vo['pid']))}" target="_self" >修改</a>
                        </td>
                        </tr>
                    </foreach>
                        <else/>
                        <tr><td colspan="9" style="text-align: center">没有相关信息！！！</td></tr>
                    </notempty>
                </table>
            </div>
        </form>
        <div class="h_a">图片信息：</div>
        <form class="J_ajaxForm" action="" method="post">
            <div class="table_list" >
                <table width="100%" class="table table-hover">
                    <thead>
                    <tr>
                        <th width="16"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
                        <th style="background-color: #FFFFFF" width="150">用户名</th>
                        <th width="150">用户电话</th>
                        <th width="300">正面照</th>
                        <th width="300">左面照</th>
                        <th width="300">右面照</th>
                        <td width="">其他信息</td>
                        <td width="120">操作</td>
                    </tr>
                    </thead>
                    <notempty name="user">
                        <tr>
                            <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="pids[]" value="{$vo.pid}"></td>
                            <td>{$user.user_login}</td>
                            <td>{$user.user_mobile}</td>
                            <empty name="image.1"><td>暂无用户图信息</td><else/><td><a href="http://api.do-bi.cn{$image.1}" target="_blank"><img class="good_img" src="http://api.do-bi.cn{$image.1}"></a></td></empty>
                            <empty name="image.2"><td>暂无用户图信息</td><else/><td><a href="http://api.do-bi.cn{$image.2}" target="_blank"><img class="good_img" src="http://api.do-bi.cn{$image.1}"></a></td></empty>
                            <empty name="image.3"><td>暂无用户图信息</td><else/><td><a href="http://api.do-bi.cn{$image.3}" target="_blank"><img class="good_img" src="http://api.do-bi.cn{$image.1}"></a></td></empty>
                            <td>{$user.content}</td>
                            <td>
                                <a target="_self" href="{:U('Financialadmin/goodEdit',array('id'=>$vo['pid']))}" target="_self" >修改</a>
                            </td>
                        </tr>
                        <else/>
                        <tr><td colspan="9" style="text-align: center; font-size: 12px">没有相关信息！！！</td></tr>
                    </notempty>
                </table>
            </div>
        </form>
    </div>
</body>
</html>

